﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZBJF.Warranty.Model;
using ZBJF.Warranty.Model.ViewModel.InsuranceProducts;

namespace ZBJF.Warranty.IBLL
{
    public partial interface IInsuranceProductsAvailableModelTypeService
    {
        /// <summary>
        /// 获取保险产品所适用的型号列表
        /// </summary>
        /// <param name="cellPhoneServiceProjectID">保险产品服务项目ID</param>
        /// <returns></returns>
        List<InsuranceProductsAvailableModel> GetInsuranceProductAvailableModel(int cellPhoneServiceProjectID);
        /// <summary>
        /// 获取保险产品所适用的型号列表
        /// </summary>
        /// <param name="cellPhoneServiceProjectIDs">保险产品服务项目ID</param>
        /// <returns></returns>
        IQueryable<InsuranceProductsAvailableModelType> GetInsuranceProductAvailableModel(List<int> cellPhoneServiceProjectIDs);
        /// <summary>
        /// 删除保险产品所适用的型号列表
        /// </summary>
        /// <param name="insuranceProductsId">保险产品ID</param>
        /// <returns></returns>
        bool DeleteInsuranceProductsAvailableModelType(long insuranceProductsId);
    }
}
